<html>
  <head>
  </head>
  <body>
  <br> <br>
    
      {% for room in room_list %}
        <form action="/lobby_room" method="get">
            {% if room.stat == 1 %}
              <button name="room_key" type="submit" value="{{ room.room_num }}">Join [ one user online ]</button>
            {% elif room.stat != 2 %} 
              <button name="room_key" type="submit" value="{{ room.room_num }}">Join [ zero user online ]</button>  
            {% endif %}
        </form>
      {% endfor %}
    
  </body>
</html>